package com.usian.pojo.vo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class LoginReqVo {
    @NotBlank(message="用户名不能为空")
    String username;
    @NotBlank(message="密码不能为空")
    @Size(min = 6, max = 20, message = "密码长度必须介于 6 和 20 之间")
    String password;
}
